import Vue from 'vue'
import VueRouter from 'vue-router'
import index from '../views/index.vue'
// import aptorg from '../views/apt/aptorg.vue'
import vonder from '../views/apt/vonder.vue'
import reportselect from '../views/apt/reportselect.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: "/",
    component: index
  },

  {
    path: '/index',
    name: 'index',
    component: index
  },
  // {
  //   path: '/aptorg',
  //   name: 'aptorg',
  //   component: aptorg
  // },
  {
    path: '/vonder',
    name: 'vonder',
    component: vonder
  },
  {
    path: '/reportselect',
    name: 'reportselect',
    component: reportselect
  },
  // {
  // path: '/',
  // name: 'xs',
  //   component: () => import('../views/index.vue')},
    
      
  
 
]

const router = new VueRouter({
  // mode: 'history',
  mode:'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
